import request from '@/utils/request';

/**
 * 分页查询采购公告
 */
export async function bidList(params) {
  const res = await request.get('/bid/proclamation/list', { params });
  if (res.data.code === 200) {
    return res.data.result;
  }
  return Promise.reject(new Error(res.data.message));
}
